package com.example.orderform.server;

import com.example.orderform.vo.Order;
import com.example.orderform.vo.Refund;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReceivedServer {
    List<Order> receivedchals(int q,int j,int userid);
    int rececha(int userid);
    Order orderxq(int orderid);

    List<Order> receordernumber(String ordernumber);
    int tuikuang(String ordernumber,String reason);
    List<Order> tuikuancha(int userid);
    int shouhuogai(int orderid);
    int addrece(@Param("ordernumber")String ordernumber,
                @Param("servicetype")String servicetype,
                @Param("cargostatus")String cargostatus,
                @Param("price")String price,
                @Param("refundreason")String refundreason,
                @Param("refundinstructions")String refundinstructions,
                @Param("shoopname")String shoopname,
                @Param("ordercolor")String ordercolor,
                @Param("ordersieze")String ordersieze,
                @Param("picture")String picture);


    int updashouhuotongyi(int id);
    int updacopytongyi(int orderid);
    int updashouhuobutongyi(int orderid);
    List<Refund> seleshouhuotongyi(int userid);
    List<Refund> seleshouhuo(int userid);
}
